/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.qdu.dao.impl;

import com.qdu.dao.NcommentDao;
import com.qdu.entity.Ncomment;

/**
 *
 * @author 12068
 */
public class NcommentDaoImpl extends BaseDaoImpl implements NcommentDao{

    @Override
    public int insert(Ncomment n) {
        return executeUpdate("insert into Ncomment values(?,?,?,?)", n.getUno(),n.getUname(),n.getNcom(),n.getNno());
    }


    
}
